import Koa from 'koa'
import { appLj } from './ac.config/lj.js'
import { sync } from './db/index.js';
import { useC } from './controllers/index.js';
let app =new Koa();
await sync()
useC(app)
app.listen(appLj)

console.log(`页面在http://localhost：${appLj}上运行`)